package com.zrfintech.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zrfintech.domain.SpInstitution;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;
public interface SpInstitutionDaoI extends BaseMapper<SpInstitution> {

   @Insert("INSERT INTO `sp_institution` (`institution_id`,`institution_sk`,`institution_name`,`institution_desc`,`institution_status`) VALUES (#{institutionId},#{institutionSk},#{institutionName},#{institutionDesc},#{institutionStatus})")
   @Options(useGeneratedKeys = true, keyProperty = "id")
   int create(SpInstitution spInstitution);
}
